/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.stop.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hopes.boss.common.entity.BaseLogicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 园区停车位预约纪录管理
 *
 * @author pig
 * @date 2024-02-19 11:02:38
 */
@Data
@TableName("closed_drive_stop_car_record")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "园区停车位预约纪录管理")
public class ClosedDriveStopCarRecordEntity extends BaseLogicEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 标识
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "标识")
    private Long id;

    /**
     * 所属停车位
     */
    @Schema(description = "所属停车位")
    private Long stopCarId;

    /**
     * 到访企业
     */
    @Schema(description = "到访企业")
    private Long companyId;

    /**
     * 运单号
     */
    @Schema(description = "运单号")
    private String waybillNumber;

    /**
     * 接收人
     */
    @Schema(description = "接收人")
    private String receivePerson;

    /**
     * 接收人联系电话
     */
    @Schema(description = "接收人联系电话")
    private String receivePhone;

    /**
     * 预约时间
     */
    @Schema(description = "预约时间")
    private LocalDateTime reserveDate;
    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    private LocalDateTime inDate;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    private LocalDateTime outDate;

    /**
     * 备注说明
     */
    @Schema(description = "备注说明")
    private String remark;

    /**
     * 备案车辆
     */
    @Schema(description = "备案车辆")
    private Boolean referenceFlag;

    /**
     * 车辆
     */
    @Schema(description = "车辆")
    private Long carId;

    /**
     * 车牌号
     */
    @Schema(description = "车牌号")
    private String plateNumber;

    /**
     * 车辆类型
     */
    @Schema(description = "车辆类型")
    private Long carType;

    /**
     * 驾驶员
     */
    @Schema(description = "驾驶员")
    private String driver;

    /**
     * 驾驶员联系电话
     */
    @Schema(description = "驾驶员联系电话")
    private String driverPhone;

    /**
     * 身份证号
     */
    @Schema(description = "身份证号")
    private String driverNumber;

    /**
     * 押运员
     */
    @Schema(description = "押运员")
    private String supercargo;

    /**
     * 押运员联系电话
     */
    @Schema(description = "押运员联系电话")
    private String supercargoPhone;

    /**
     * 身份证号
     */
    @Schema(description = "身份证号")
    private String supercargoNumber;

    /**
     * 机构ID
     */
    @Schema(description = "机构ID")
    private Long orgId;

}
